package com.heima.api.admin;

import com.heima.model.admin.dtos.AdUserDto;
import com.heima.model.admin.pojos.AdUser;
import com.heima.model.common.dtos.ResponseResult;

public interface LoginControllerApi {

    /**
     * 登录
     * @param adUserDto
     * @return
     */
    public ResponseResult login(AdUserDto adUserDto);

    /**
     * 注册
     * @param adUser
     * @return
     */
    public ResponseResult regist(AdUser adUser);
}
